package modelo;

import java.net.MalformedURLException;
import java.rmi.Naming;
import java.rmi.NotBoundException;
import java.rmi.RemoteException;


public class Cliente {

	public InterfazRemota obtenerObjetoRemoto() throws Exception, RemoteException, Exception{
		InterfazRemota ir;
		ir=(InterfazRemota)Naming.lookup("//localhost/SistRestaurant");
		return ir;
	}
	
}
